package cn.zhoujing.security.demo.mapper;

import cn.zhoujing.security.demo.bo.RolePermissionUriAndCodeBO;
import cn.zhoujing.security.demo.entity.RolePermissionLink;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Set;

/**
* @author JingZhou
* @description 针对表【role_permission_link】的数据库操作Mapper
* @createDate 2024-02-12 22:51:55
* @Entity cn.zhoujing.security.demo.entity.RolePermissionLink
*/
@Mapper
public interface RolePermissionLinkMapper extends BaseMapper<RolePermissionLink> {

    /**
     * 获取已启用的权限uri和对应角色code
     * @return uri和对应的角色code
     */
    List<RolePermissionUriAndCodeBO> selectUriAndRoleCodes();

}




